/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Games;

import ui.GameFrame;

/**
 *
 * @author Brandon
 */
public abstract class AbstractFunctions implements GameInterface {

    public static Board board;
    private GameFrame gameFrame = null;
    private GamesModel gamesModel = null;
    
    protected void setGameModel(GamesModel gamesModel) {
        this.gamesModel = gamesModel;
    }

    protected GameFrame GameFrame() {
        if(gameFrame == null){
            gameFrame = new GameFrame(gamesModel);
        }
        return gameFrame;    
    }    
}
